/* eslint-disable no-unused-vars */
import { get, post, patch, del, put } from "../utils/request";

/**
 * 获取用户信息
 * @returns
 */
export const loadUserInfoAPI = () => get("/members/info");

/**
 * 修改用户密码
 * @param {*} data
 * @returns
 */
export const modifyPasswordAPI = (data) =>
  put("/members/modify_password", data);

/**
 * 修改用户信息
 * @param {*} data
 * @returns
 */
export const modifyUserInfoAPI = (data) => put("/members/update_info", data);
